feat(overview): add a Starred filter to the file list - #127
Conversation
Favourited files could only be spotted by their star, one row at a time.
Add a "Starred" filter alongside All / Mine / Shared with me that narrows
the category to favourites — the oc:favorite flag already fetched for the
star indicator — regardless of owner. While it is active the section
heading reads "Starred {category}" instead of "Recent {category}", so the
list reads as a starred section rather than just a filtered view.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Frank Karlitschek <frank.karlitschek@nextcloud.com>
|
TL;DR: Filter logic is correct and well-tested; the view-level wiring that actually surfaces it isn't. One additional low-severity UX gap in the escape hatch for large result sets. Findings and proposed fixes1.
|
What
Favourited files could only be spotted by their star, one row at a time. This adds a "Starred" filter alongside All / Mine / Shared with me that narrows the list to favourites — surfacing them as a section of their own.
While Starred is active, the section heading reads "Starred {category}" instead of "Recent {category}", so it reads as a starred view rather than just a filtered one.
How
Reuses what's already there:
oc:favoriteflag is already fetched (it drives the star indicator), so no new request — just a newfilterFilescase (favorite === 1, regardless of owner).NcButtonpattern as the other filters, witharia-pressedstate, plus the star glyph for recognition.Notes
filterFiles > starredspec cases (favourited-only, across owners; excludes unfavourited).js//css/still need a maintainer/compile.🤖 Generated with Claude Code